﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Login.ascx.cs" Inherits="Pages_Login" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxMenu" tagprefix="dx" %>

<style type="text/css">
    .style1
    {
        width: 38px;
    }
    .style2
    {
        width: 58px;
    }
</style>

<asp:MultiView ID="munviLogin" runat="server">
    <asp:View ID="vLogin1" runat="server">
        <table style="width:100%;">
            <tr>
                <td class="style1">
                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" 
                CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                Text="Username:">
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxTextBox ID="txtUserLogin" runat="server" Width="150px">
                    </dx:ASPxTextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <dx:ASPxLabel ID="ASPxLabel2" runat="server" 
                CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                Text="Password:">
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxTextBox ID="txtPassLogin" runat="server" Password="True" Width="150px">
                    </dx:ASPxTextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;</td>
                <td>
                    <dx:ASPxHyperLink ID="hplRegister" runat="server" 
                CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                Text="Register if you don't have an account. " 
                NavigateUrl="~/Register.aspx" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <dx:ASPxButton ID="btLogin" runat="server" 
                CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" Text="Login" 
                Width="44px" onclick="btLogin_Click" CausesValidation="False">
                    </dx:ASPxButton>
                </td>
                <td>
                    <dx:ASPxButton ID="ASPxButton2" runat="server" 
                CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                onclick="ASPxButton2_Click" 
                SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" Text="Reset" 
                Width="44px" CausesValidation="False">
                    </dx:ASPxButton>
                </td>
            </tr>
        </table>
    </asp:View>
    <asp:View ID="vLogin2" runat="server">
        <dx:ASPxLabel ID="lbStatusLogin" runat="server" 
            CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
            Font-Italic="True" ForeColor="#0066FF">
        </dx:ASPxLabel>
        <dx:ASPxMenu ID="ASPxMenu2" runat="server" AutoSeparators="RootOnly" 
            CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
            Orientation="Vertical" ShowPopOutImages="True" 
            SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" Width="100%">
            <Items>
                <dx:MenuItem Text="Logout" NavigateUrl="~/Logout.aspx">
                </dx:MenuItem>
                <dx:MenuItem NavigateUrl="~/ChangePassword.aspx" Text="Change password">
                </dx:MenuItem>
                <dx:MenuItem Text="Change profile" NavigateUrl="~/ChangeProfile.aspx">
                </dx:MenuItem>
            </Items>
            <LoadingPanelImage Url="~/App_Themes/DevEx/Web/Loading.gif">
            </LoadingPanelImage>
            <ItemSubMenuOffset FirstItemX="2" LastItemX="2" X="2" />
            <ItemStyle DropDownButtonSpacing="10px" PopOutImageSpacing="10px" />
            <LoadingPanelStyle ImageSpacing="5px">
            </LoadingPanelStyle>
            <SubMenuStyle GutterImageSpacing="9px" GutterWidth="3px" />
        </dx:ASPxMenu>
    </asp:View>
    <asp:View ID= "vLogin3" runat="server">
        
        <dx:ASPxLabel ID="lbStatusLogin2" runat="server" 
            CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx">
        </dx:ASPxLabel>
        <table style="width: 100%;">
            <tr>
                <td class="style2">
                    <dx:ASPxButton ID="btOkRegister" runat="server" 
                        CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                        Height="23px" onclick="btOkRegister_Click" 
                        SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" Text="Ok" Width="44px">
                    </dx:ASPxButton>
                </td>
                <td>
                    <dx:ASPxButton ID="btCancel" runat="server" CausesValidation="False" 
                        CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" 
                        onclick="btCancel_Click" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" 
                        Text="Cancel" Width="44px">
                    </dx:ASPxButton>
                </td>
            </tr>
        </table>
        
    </asp:View>
</asp:MultiView>


